package com.inspinia.base.api.dao;

import com.inspinia.base.api.model.InterfaceUser;
import com.inspinia.base.dao.BaseDao;
import org.apache.ibatis.annotations.Param;

/**
* dao
* Created by pujw on 2017-6-30.
*/
public interface InterfaceUserDao extends BaseDao<InterfaceUser> {
	
    /**
    * 批量删除
    * 
    * @param ids id数组
    */
	int batchDelete(@Param("ids") Long[] ids);

    /**
     * 根据用户名查找用户
     * @param username
     * @return
     */
    InterfaceUser findByUserName(@Param("username") String username);
}